<?php

require_once 'init.php';
require_once cf\Config::path.'api/page.php';

$page = cf\api\page\get( 'delivery' );
$smarty->assign('pageText',cf\api\page\getText($page['id']));

$smarty->assign('prices',cf\query2arrays("SELECT city,price FROM delivery_price ORDER BY city"));

show(
	'delivery', 
	$page['name'], 
	array(array('name'=>$page['name'])),
	$page['title'], 
	$page['keywords'], 
	$page['descr']
);

?>